package com.codingvip.queue;

import java.util.HashMap;

/**
 * @Author Tony.Han
 * @Created at 2020/4/6 6:12 下午
 * Desc:
 */
public class HashMapSimpleResize {
    private static HashMap map = new HashMap();

    public static void main(String[] args) {
        for (int i = 0; i < 13; i++) {
            System.out.println("----" + i);
            map.put(new UserKey(), "value" + i);
        }
    }

    static class UserKey {
        @Override
        public int hashCode() {
            return 1;
        }

        @Override
        public boolean equals(Object obj) {
            return false;
        }
    }


}
